

export default [
    
    
    { path: '/home', component(resolve) { require(['@/views/home/index.vue'], resolve); }, meta: { title: "首页", isOpen: true, } },
    
    { path: '/goods/groups', component(resolve) { require(['@/views/goods/groups/home/index.vue'], resolve); }, meta: { title: "商品分组", isOpen: true, } },
    { path: '/goods/brand', component(resolve) { require(['@/views/goods/brand/home/index.vue'], resolve); }, meta: { title: "商品品牌", isOpen: true, } },
    { path: '/goods/label', component(resolve) { require(['@/views/goods/label/home/index.vue'], resolve); }, meta: { title: "商品标签", isOpen: true, } },
    { path: '/goods/attr', component(resolve) { require(['@/views/goods/attr/home/index.vue'], resolve); }, meta: { title: "商品服务", isOpen: true, } },
    { path: '/goods/commodity', component(resolve) { require(['@/views/goods/commodity/home/index.vue'], resolve); }, meta: { title: "商品", isOpen: true, } },
    { path: '/goods/comment', component(resolve) { require(['@/views/goods/comment/home/index.vue'], resolve); }, meta: { title: "商品评论", }, },

    // 账号权限
    { path: '/jurisdiction/accounts', component(resolve) { require(['@/views/jurisdiction/accounts/home/index.vue'], resolve); }, meta: { title: "账户管理", isOpen: true, } },
    { path: '/jurisdiction/role', component(resolve) { require(['@/views/jurisdiction/role/home/index.vue'], resolve); }, meta: { title: "角色管理", isOpen: true, } },
   
    // 门店核销员
    { path: '/verifier/verifier', component(resolve) { require(['@/views/verifier/verifier/home/index.vue'], resolve); }, meta: { title: "门店核销员", isOpen: true, } },
    { path: '/verifier/detailed', component(resolve) { require(['@/views/verifier/detailed/home/index.vue'], resolve); }, meta: { title: "核销明细", isOpen: true, } },

    // 财务管理
    { path: '/finance', component(resolve) { require(['@/views/finance/home/index.vue'], resolve); }, meta: { title: "对账单", isOpen: true, } },
    { path: '/settlement', component(resolve) { require(['@/views/settlement/home/index.vue'], resolve); }, meta: { title: "对账单", isOpen: true, } },

    // 基础设置
    { path: '/setting/service', component(resolve) { require(['@/views/setting/service/home/index.vue'], resolve); }, meta: { title: "门店服务", isOpen: true, } },
    { path: '/setting/basics', component(resolve) { require(['@/views/setting/basics/edit/index.vue'], resolve); }, meta: { title: "基本设置", isOpen: true, } },
    { path: '/setting/business', component(resolve) { require(['@/views/setting/business/edit/index.vue'], resolve); }, meta: { title: "营业设置", isOpen: true, } },
    { path: '/setting/distribution', component(resolve) { require(['@/views/setting/distribution/edit/index.vue'], resolve); }, meta: { title: "配送设置", isOpen: true, } },
    // 装修
    { path: '/deco/home', component(resolve) { require(['@/views/deco/home/index.vue'], resolve); }, meta: { title: "门店首页", isOpen: true, } },
    { path: '/deco/goods', component(resolve) { require(['@/views/deco/goods/index.vue'], resolve); }, meta: { title: "商品详情", isOpen: true, } },
    { path: '/deco/coupon', component(resolve) { require(['@/views/deco/coupon/index.vue'], resolve); }, meta: { title: "优惠券", isOpen: true, } },

    // 配送设置
    { path: '/deliverset', component(resolve) { require(['@/views/deliverset/home/index.vue'], resolve); }, meta: { title: "运费模板", isOpen: true, } },
    // 素材中心
    { path: '/material', component(resolve) { require(['@/views/material/home/index.vue'], resolve); }, meta: { title: "素材中心", isOpen: true, } },

    // 会员
    // 资产管理 会员管理
    { path: '/member/asset', component(resolve) { require(['@/views/member/asset/home/index.vue'], resolve); }, meta: { title: "资产管理", isOpen: true, } },
    { path: '/member/manage', component(resolve) { require(['@/views/member/manage/home/index.vue'], resolve); }, meta: { title: "资产管理", isOpen: true, } },
    // 推荐设置
    { path: '/setting/recommendset', component(resolve) { require(['@/views/setting/recommendset/edit/index.vue'], resolve); }, meta: {}, },

    // 订单
    { path: '/order/list', component(resolve) { require(['@/views/order/list/home/index.vue'], resolve); }, meta: {}, },
    { path: '/order/refundlist', component(resolve) { require(['@/views/order/refundlist/home/index.vue'], resolve); }, meta: {}, },

    {
        path: '',
        redirect: '/home'
    },
    {
        path: '/',
        redirect: '/home'
    }
]
